﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace FortuneCat.WebUI.Models {
    public class LogOnViewModel {
        [Required(ErrorMessage = "请填写用户")]
        [DisplayName("用户:")]
        public string UserName { get; set; }

        [Required(ErrorMessage = "请填写密码")]
        [DisplayName("密码:")]
        public string Password { get; set; }
    }
}